home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / program / knobvb25.zip / VB.ZIP / KTICS.FRM < prev    next >
Text File  |  1996-01-17  |  24KB  |  757 lines

  1. VERSION 2.00
  2. Begin Form TicDemo 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Knob Tic Properties Demo"
  6.    ClientHeight    =   4860
  7.    ClientLeft      =   1575
  8.    ClientTop       =   1440
  9.    ClientWidth     =   8910
  10.    FontBold        =   -1  'True
  11.    FontItalic      =   0   'False
  12.    FontName        =   "Arial"
  13.    FontSize        =   8.25
  14.    FontStrikethru  =   0   'False
  15.    FontUnderline   =   0   'False
  16.    Height          =   5265
  17.    Left            =   1515
  18.    LinkTopic       =   "Form2"
  19.    MaxButton       =   0   'False
  20.    MDIChild        =   -1  'True
  21.    MinButton       =   0   'False
  22.    ScaleHeight     =   324
  23.    ScaleMode       =   3  'Pixel
  24.    ScaleWidth      =   594
  25.    Top             =   1095
  26.    Width           =   9030
  27.    Begin Frame Frame4 
  28.       BackColor       =   &H00C0C0C0&
  29.       Caption         =   "Tic Label Properties"
  30.       FontBold        =   -1  'True
  31.       FontItalic      =   0   'False
  32.       FontName        =   "Arial"
  33.       FontSize        =   8.25
  34.       FontStrikethru  =   0   'False
  35.       FontUnderline   =   0   'False
  36.       Height          =   900
  37.       Index           =   2
  38.       Left            =   4560
  39.       TabIndex        =   36
  40.       Top             =   3735
  41.       Width           =   4260
  42.       Begin CheckBox Check1 
  43.          BackColor       =   &H00C0C0C0&
  44.          Caption         =   "TicLabel"
  45.          FontBold        =   0   'False
  46.          FontItalic      =   0   'False
  47.          FontName        =   "Arial"
  48.          FontSize        =   8.25
  49.          FontStrikethru  =   0   'False
  50.          FontUnderline   =   0   'False
  51.          Height          =   210
  52.          Left            =   540
  53.          TabIndex        =   3
  54.          Top             =   300
  55.          Width           =   1095
  56.       End
  57.       Begin HScrollBar HScroll1 
  58.          Height          =   240
  59.          Index           =   6
  60.          Left            =   1800
  61.          Max             =   140
  62.          TabIndex        =   4
  63.          Top             =   540
  64.          Width           =   2000
  65.       End
  66.       Begin Label Label2 
  67.          AutoSize        =   -1  'True
  68.          BackStyle       =   0  'Transparent
  69.          Caption         =   " 0"
  70.          Height          =   195
  71.          Index           =   6
  72.          Left            =   3825
  73.          TabIndex        =   7
  74.          Top             =   555
  75.          Width           =   180
  76.       End
  77.       Begin Label Label1 
  78.          AutoSize        =   -1  'True
  79.          BackStyle       =   0  'Transparent
  80.          Caption         =   "Tic Label Radius:"
  81.          FontBold        =   0   'False
  82.          FontItalic      =   0   'False
  83.          FontName        =   "Arial"
  84.          FontSize        =   8.25
  85.          FontStrikethru  =   0   'False
  86.          FontUnderline   =   0   'False
  87.          Height          =   210
  88.          Index           =   6
  89.          Left            =   540
  90.          TabIndex        =   8
  91.          Top             =   555
  92.          Width           =   1230
  93.       End
  94.    End
  95.    Begin Frame Frame4 
  96.       BackColor       =   &H00C0C0C0&
  97.       Caption         =   "Tic Radius Properties"
  98.       FontBold        =   -1  'True
  99.       FontItalic      =   0   'False
  100.       FontName        =   "Arial"
  101.       FontSize        =   8.25
  102.       FontStrikethru  =   0   'False
  103.       FontUnderline   =   0   'False
  104.       Height          =   915
  105.       Index           =   1
  106.       Left            =   4560
  107.       TabIndex        =   35
  108.       Top             =   2820
  109.       Width           =   4260
  110.       Begin HScrollBar HScroll1 
  111.          Height          =   240
  112.          Index           =   3
  113.          Left            =   1800
  114.          Max             =   140
  115.          TabIndex        =   10
  116.          Top             =   315
  117.          Width           =   2000
  118.       End
  119.       Begin HScrollBar HScroll1 
  120.          Height          =   240
  121.          Index           =   4
  122.          Left            =   1800
  123.          Max             =   140
  124.          TabIndex        =   11
  125.          Top             =   555
  126.          Width           =   2000
  127.       End
  128.       Begin Label Label2 
  129.          AutoSize        =   -1  'True
  130.          BackStyle       =   0  'Transparent
  131.          Caption         =   " 0"
  132.          Height          =   195
  133.          Index           =   3
  134.          Left            =   3810
  135.          TabIndex        =   20
  136.          Top             =   345
  137.          Width           =   180
  138.       End
  139.       Begin Label Label1 
  140.          AutoSize        =   -1  'True
  141.          BackStyle       =   0  'Transparent
  142.          Caption         =   "Tic Inner Radius:"
  143.          FontBold        =   0   'False
  144.          FontItalic      =   0   'False
  145.          FontName        =   "Arial"
  146.          FontSize        =   8.25
  147.          FontStrikethru  =   0   'False
  148.          FontUnderline   =   0   'False
  149.          Height          =   210
  150.          Index           =   3
  151.          Left            =   570
  152.          TabIndex        =   21
  153.          Top             =   330
  154.          Width           =   1200
  155.       End
  156.       Begin Label Label2 
  157.          AutoSize        =   -1  'True
  158.          BackStyle       =   0  'Transparent
  159.          Caption         =   " 0"
  160.          Height          =   195
  161.          Index           =   4
  162.          Left            =   3810
  163.          TabIndex        =   22
  164.          Top             =   585
  165.          Width           =   180
  166.       End
  167.       Begin Label Label1 
  168.          AutoSize        =   -1  'True
  169.          BackStyle       =   0  'Transparent
  170.          Caption         =   "Tic Outer Radius:"
  171.          FontBold        =   0   'False
  172.          FontItalic      =   0   'False
  173.          FontName        =   "Arial"
  174.          FontSize        =   8.25
  175.          FontStrikethru  =   0   'False
  176.          FontUnderline   =   0   'False
  177.          Height          =   210
  178.          Index           =   4
  179.          Left            =   525
  180.          TabIndex        =   23
  181.          Top             =   585
  182.          Width           =   1245
  183.       End
  184.    End
  185.    Begin Frame Frame4 
  186.       BackColor       =   &H00C0C0C0&
  187.       Caption         =   "Tic Value Properties"
  188.       FontBold        =   -1  'True
  189.       FontItalic      =   0   'False
  190.       FontName        =   "Arial"
  191.       FontSize        =   8.25
  192.       FontStrikethru  =   0   'False
  193.       FontUnderline   =   0   'False
  194.       Height          =   1500
  195.       Index           =   0
  196.       Left            =   4560
  197.       TabIndex        =   34
  198.       Top             =   1290
  199.       Width           =   4260
  200.       Begin HScrollBar HScroll1 
  201.          Height          =   240
  202.          Index           =   5
  203.          Left            =   1785
  204.          Max             =   20
  205.          TabIndex        =   24
  206.          Top             =   1095
  207.          Width           =   2000
  208.       End
  209.       Begin HScrollBar HScroll1 
  210.          Height          =   240
  211.          Index           =   0
  212.          Left            =   1785
  213.          Max             =   100
  214.          TabIndex        =   39
  215.          Top             =   315
  216.          Width           =   2000
  217.       End
  218.       Begin HScrollBar HScroll1 
  219.          Height          =   240
  220.          Index           =   1
  221.          Left            =   1785
  222.          Max             =   100
  223.          TabIndex        =   38
  224.          Top             =   555
  225.          Width           =   2000
  226.       End
  227.       Begin HScrollBar HScroll1 
  228.          Height          =   240
  229.          Index           =   2
  230.          Left            =   1785
  231.          Max             =   100
  232.          TabIndex        =   37
  233.          Top             =   840
  234.          Width           =   2000
  235.       End
  236.       Begin Label Label2 
  237.          AutoSize        =   -1  'True
  238.          BackStyle       =   0  'Transparent
  239.          Caption         =   " 0"
  240.          Height          =   195
  241.          Index           =   5
  242.          Left            =   3795
  243.          TabIndex        =   25
  244.          Top             =   1125
  245.          Width           =   180
  246.       End
  247.       Begin Label Label1 
  248.          AutoSize        =   -1  'True
  249.          BackStyle       =   0  'Transparent
  250.          Caption         =   "Tic Width:"
  251.          FontBold        =   0   'False
  252.          FontItalic      =   0   'False
  253.          FontName        =   "Arial"
  254.          FontSize        =   8.25
  255.          FontStrikethru  =   0   'False
  256.          FontUnderline   =   0   'False
  257.          Height          =   210
  258.          Index           =   5
  259.          Left            =   1035
  260.          TabIndex        =   26
  261.          Top             =   1110
  262.          Width           =   705
  263.       End
  264.       Begin Label Label2 
  265.          AutoSize        =   -1  'True
  266.          BackStyle       =   0  'Transparent
  267.          Caption         =   " 0"
  268.          Height          =   195
  269.          Index           =   0
  270.          Left            =   3795
  271.          TabIndex        =   45
  272.          Top             =   345
  273.          Width           =   180
  274.       End
  275.       Begin Label Label1 
  276.          AutoSize        =   -1  'True
  277.          BackStyle       =   0  'Transparent
  278.          Caption         =   "TicStartValue:"
  279.          FontBold        =   0   'False
  280.          FontItalic      =   0   'False
  281.          FontName        =   "Arial"
  282.          FontSize        =   8.25
  283.          FontStrikethru  =   0   'False
  284.          FontUnderline   =   0   'False
  285.          Height          =   210
  286.          Index           =   0
  287.          Left            =   705
  288.          TabIndex        =   44
  289.          Top             =   315
  290.          Width           =   1020
  291.       End
  292.       Begin Label Label1 
  293.          AutoSize        =   -1  'True
  294.          BackStyle       =   0  'Transparent
  295.          Caption         =   "TicStopValue:"
  296.          FontBold        =   0   'False
  297.          FontItalic      =   0   'False
  298.          FontName        =   "Arial"
  299.          FontSize        =   8.25
  300.          FontStrikethru  =   0   'False
  301.          FontUnderline   =   0   'False
  302.          Height          =   210
  303.          Index           =   1
  304.          Left            =   720
  305.          TabIndex        =   43
  306.          Top             =   555
  307.          Width           =   1005
  308.       End
  309.       Begin Label Label2 
  310.          AutoSize        =   -1  'True
  311.          BackStyle       =   0  'Transparent
  312.          Caption         =   " 0"
  313.          Height          =   195
  314.          Index           =   1
  315.          Left            =   3795
  316.          TabIndex        =   42
  317.          Top             =   585
  318.          Width           =   180
  319.       End
  320.       Begin Label Label2 
  321.          AutoSize        =   -1  'True
  322.          BackStyle       =   0  'Transparent
  323.          Caption         =   " 0"
  324.          Height          =   195
  325.          Index           =   2
  326.          Left            =   3795
  327.          TabIndex        =   41
  328.          Top             =   870
  329.          Width           =   180
  330.       End
  331.       Begin Label Label1 
  332.          AutoSize        =   -1  'True
  333.          BackStyle       =   0  'Transparent
  334.          Caption         =   "TicDeltaValue:"
  335.          FontBold        =   0   'False
  336.          FontItalic      =   0   'False
  337.          FontName        =   "Arial"
  338.          FontSize        =   8.25
  339.          FontStrikethru  =   0   'False
  340.          FontUnderline   =   0   'False
  341.          Height          =   210
  342.          Index           =   2
  343.          Left            =   690
  344.          TabIndex        =   40
  345.          Top             =   840
  346.          Width           =   1035
  347.       End
  348.    End
  349.    Begin KNOB Knob1 
  350.       Angle           =   0
  351.       AutoRedraw      =   -1  'True
  352.       AVersion        =   2.5
  353.       BackgroundColor =   &H00C0C0C0&
  354.       BevelInner      =   1  ' 1 - Raised
  355.       BevelOuter      =   2  ' 2 - Inset
  356.       BevelWidth      =   2
  357.       BorderType      =   1  ' 1 - Bevel
  358.       BorderWidth     =   2
  359.       Digital         =   0   'False
  360.       DigitalColor    =   &H00000000&
  361.       DigitalDecimals =   0
  362.       DigitalFontID   =   0
  363.       DigitalX        =   0
  364.       DigitalY        =   0
  365.       FontID          =   0
  366.       FrameColor      =   &H00000000&
  367.       FrameScaleX     =   1.15
  368.       FrameScaleY     =   0
  369.       FrameStyle      =   0  ' 0 - None
  370.       Height          =   4515
  371.       KnobColor       =   &H00800000&
  372.       KnobMultiTurn   =   0   'False
  373.       KnobMultiTurnValue=   0
  374.       KnobRadius      =   0.55
  375.       KnobSnap        =   0   'False
  376.       KnobSnapIncrement=   0
  377.       KnobStyle       =   2  ' 2 - Complex
  378.       KnobUserDefined =   ""
  379.       KnobValue       =   30
  380.       Left            =   60
  381.       MarkUserDefined =   ""
  382.       MouseControl    =   -1  'True
  383.       OutlineAlign    =   0  ' 0 - Left 
  384.       OutlineColor    =   &H00000000&
  385.       OutlineTitle    =   ""
  386.       OutlineWidth    =   0
  387.       Radius          =   0
  388.       TabIndex        =   33
  389.       Top             =   120
  390.       Value           =   0
  391.       Width           =   4380
  392.       XScale          =   0
  393.       YScale          =   0
  394.       ZLoad           =   KTICS.FRX:0000
  395.    End
  396.    Begin Frame Frame3 
  397.       BackColor       =   &H00C0C0C0&
  398.       Caption         =   "Tic Color"
  399.       FontBold        =   -1  'True
  400.       FontItalic      =   0   'False
  401.       FontName        =   "Arial"
  402.       FontSize        =   8.25
  403.       FontStrikethru  =   0   'False
  404.       FontUnderline   =   0   'False
  405.       Height          =   1005
  406.       Left            =   7365
  407.       TabIndex        =   32
  408.       Top             =   30
  409.       Width           =   1425
  410.       Begin Label Colors 
  411.          BackColor       =   &H00000000&
  412.          Height          =   225
  413.          Index           =   0
  414.          Left            =   120
  415.          TabIndex        =   5
  416.          Top             =   330
  417.          Width           =   225
  418.       End
  419.       Begin Label Colors 
  420.          BackColor       =   &H00808080&
  421.          Height          =   225
  422.          Index           =   1
  423.          Left            =   120
  424.          TabIndex        =   6
  425.          Top             =   570
  426.          Width           =   225
  427.       End
  428.       Begin Label Colors 
  429.          BackColor       =   &H00FFFFFF&
  430.          Height          =   225
  431.          Index           =   2
  432.          Left            =   360
  433.          TabIndex        =   12
  434.          Top             =   330
  435.          Width           =   225
  436.       End
  437.       Begin Label Colors 
  438.          BackColor       =   &H000000FF&
  439.          Height          =   225
  440.          Index           =   3
  441.          Left            =   360
  442.          TabIndex        =   13
  443.          Top             =   570
  444.          Width           =   225
  445.       End
  446.       Begin Label Colors 
  447.          BackColor       =   &H0000FF00&
  448.          Height          =   225
  449.          Index           =   4
  450.          Left            =   600
  451.          TabIndex        =   14
  452.          Top             =   330
  453.          Width           =   225
  454.       End
  455.       Begin Label Colors 
  456.          BackColor       =   &H0000FFFF&
  457.          Height          =   225
  458.          Index           =   5
  459.          Left            =   600
  460.          TabIndex        =   15
  461.          Top             =   570
  462.          Width           =   225
  463.       End
  464.       Begin Label Colors 
  465.          BackColor       =   &H00FF0000&
  466.          Height          =   225
  467.          Index           =   6
  468.          Left            =   840
  469.          TabIndex        =   16
  470.          Top             =   330
  471.          Width           =   225
  472.       End
  473.       Begin Label Colors 
  474.          BackColor       =   &H00FF00FF&
  475.          Height          =   225
  476.          Index           =   7
  477.          Left            =   840
  478.          TabIndex        =   17
  479.          Top             =   570
  480.          Width           =   225
  481.       End
  482.       Begin Label Colors 
  483.          BackColor       =   &H000080FF&
  484.          Height          =   225
  485.          Index           =   8
  486.          Left            =   1080
  487.          TabIndex        =   18
  488.          Top             =   330
  489.          Width           =   225
  490.       End
  491.       Begin Label Colors 
  492.          BackColor       =   &H00004040&
  493.          Height          =   225
  494.          Index           =   9
  495.          Left            =   1080
  496.          TabIndex        =   19
  497.          Top             =   570
  498.          Width           =   225
  499.       End
  500.    End
  501.    Begin Frame Frame2 
  502.       BackColor       =   &H00C0C0C0&
  503.       Caption         =   "Tic Style"
  504.       FontBold        =   -1  'True
  505.       FontItalic      =   0   'False
  506.       FontName        =   "Arial"
  507.       FontSize        =   8.25
  508.       FontStrikethru  =   0   'False
  509.       FontUnderline   =   0   'False
  510.       Height          =   1170
  511.       Left            =   5820
  512.       TabIndex        =   28
  513.       Top             =   30
  514.       Width           =   1380
  515.       Begin OptionButton Option2 
  516.          BackColor       =   &H00C0C0C0&
  517.          Caption         =   "Circle"
  518.          FontBold        =   0   'False
  519.          FontItalic      =   0   'False
  520.          FontName        =   "Arial"
  521.          FontSize        =   8.25
  522.          FontStrikethru  =   0   'False
  523.          FontUnderline   =   0   'False
  524.          Height          =   225
  525.          Index           =   3
  526.          Left            =   120
  527.          TabIndex        =   9
  528.          TabStop         =   0   'False
  529.          Top             =   870
  530.          Width           =   1000
  531.       End
  532.       Begin OptionButton Option2 
  533.          BackColor       =   &H00C0C0C0&
  534.          Caption         =   "Diamond"
  535.          FontBold        =   0   'False
  536.          FontItalic      =   0   'False
  537.          FontName        =   "Arial"
  538.          FontSize        =   8.25
  539.          FontStrikethru  =   0   'False
  540.          FontUnderline   =   0   'False
  541.          Height          =   225
  542.          Index           =   2
  543.          Left            =   120
  544.          TabIndex        =   31
  545.          TabStop         =   0   'False
  546.          Top             =   660
  547.          Width           =   1000
  548.       End
  549.       Begin OptionButton Option2 
  550.          BackColor       =   &H00C0C0C0&
  551.          Caption         =   "Triangle"
  552.          FontBold        =   0   'False
  553.          FontItalic      =   0   'False
  554.          FontName        =   "Arial"
  555.          FontSize        =   8.25
  556.          FontStrikethru  =   0   'False
  557.          FontUnderline   =   0   'False
  558.          Height          =   225
  559.          Index           =   1
  560.          Left            =   120
  561.          TabIndex        =   30
  562.          TabStop         =   0   'False
  563.          Top             =   450
  564.          Width           =   1000
  565.       End
  566.       Begin OptionButton Option2 
  567.          BackColor       =   &H00C0C0C0&
  568.          Caption         =   "Rectangle"
  569.          FontBold        =   0   'False
  570.          FontItalic      =   0   'False
  571.          FontName        =   "Arial"
  572.          FontSize        =   8.25
  573.          FontStrikethru  =   0   'False
  574.          FontUnderline   =   0   'False
  575.          Height          =   225
  576.          Index           =   0
  577.          Left            =   120
  578.          TabIndex        =   29
  579.          Top             =   240
  580.          Value           =   -1  'True
  581.          Width           =   1000
  582.       End
  583.    End
  584.    Begin Frame Frame1 
  585.       BackColor       =   &H00C0C0C0&
  586.       Caption         =   "Tic ID"
  587.       FontBold        =   -1  'True
  588.       FontItalic      =   0   'False
  589.       FontName        =   "Arial"
  590.       FontSize        =   8.25
  591.       FontStrikethru  =   0   'False
  592.       FontUnderline   =   0   'False
  593.       Height          =   1170
  594.       Left            =   4560
  595.       TabIndex        =   0
  596.       Top             =   30
  597.       Width           =   1035
  598.       Begin OptionButton Option1 
  599.          BackColor       =   &H00C0C0C0&
  600.          Caption         =   "2"
  601.          FontBold        =   -1  'True
  602.          FontItalic      =   0   'False
  603.          FontName        =   "Arial"
  604.          FontSize        =   8.25
  605.          FontStrikethru  =   0   'False
  606.          FontUnderline   =   0   'False
  607.          Height          =   255
  608.          Index           =   2
  609.          Left            =   330
  610.          TabIndex        =   27
  611.          TabStop         =   0   'False
  612.          Top             =   780
  613.          Width           =   400
  614.       End
  615.       Begin OptionButton Option1 
  616.          BackColor       =   &H00C0C0C0&
  617.          Caption         =   "1"
  618.          FontBold        =   -1  'True
  619.          FontItalic      =   0   'False
  620.          FontName        =   "Arial"
  621.          FontSize        =   8.25
  622.          FontStrikethru  =   0   'False
  623.          FontUnderline   =   0   'False
  624.          Height          =   255
  625.          Index           =   1
  626.          Left            =   330
  627.          TabIndex        =   2
  628.          TabStop         =   0   'False
  629.          Top             =   540
  630.          Width           =   400
  631.       End
  632.       Begin OptionButton Option1 
  633.          BackColor       =   &H00C0C0C0&
  634.          Caption         =   "0"
  635.          FontBold        =   -1  'True
  636.          FontItalic      =   0   'False
  637.          FontName        =   "Arial"
  638.          FontSize        =   8.25
  639.          FontStrikethru  =   0   'False
  640.          FontUnderline   =   0   'False
  641.          Height          =   255
  642.          Index           =   0
  643.          Left            =   330
  644.          TabIndex        =   1
  645.          Top             =   300
  646.          Value           =   -1  'True
  647.          Width           =   400
  648.       End
  649.    End
  650. End
  651.  
  652. Sub Check1_Click ()
  653.  
  654.     knob1.TicLabel = check1
  655.  
  656. End Sub
  657.  
  658. Sub Colors_Click (Index As Integer)
  659.  
  660.     knob1.TicColor = colors(Index).BackColor
  661.  
  662. End Sub
  663.  
  664. Sub Form_Load ()
  665.  
  666.     hscroll1(0) = knob1.TicStartValue
  667.     hscroll1(1) = knob1.TicStopValue
  668.     hscroll1(2) = knob1.TicDeltaValue
  669.     hscroll1(3) = knob1.TicInnerRadius * 100
  670.     hscroll1(4) = knob1.TicOuterRadius * 100
  671.     hscroll1(5) = knob1.TicWidth * 100
  672.     hscroll1(6) = knob1.TicLabelRadius * 100
  673.     knob1.TicID = 1
  674.     option1(1) = True
  675.  
  676. End Sub
  677.  
  678. Sub HScroll1_Change (Index As Integer)
  679.  
  680.     Select Case Index
  681.         Case 0
  682.             knob1.TicStartValue = hscroll1(0)
  683.             label2(0) = hscroll1(0)
  684.         Case 1
  685.             knob1.TicStopValue = hscroll1(1)
  686.             label2(1) = hscroll1(1)
  687.         Case 2
  688.             knob1.TicDeltaValue = hscroll1(2)
  689.             label2(2) = hscroll1(2)
  690.         Case 3
  691.             knob1.TicInnerRadius = hscroll1(3) / 100
  692.             label2(3) = hscroll1(3) / 100
  693.         Case 4
  694.             knob1.TicOuterRadius = hscroll1(4) / 100
  695.             label2(4) = hscroll1(4) / 100
  696.         Case 5
  697.             knob1.TicWidth = hscroll1(5) / 100
  698.             label2(5) = hscroll1(5) / 100
  699.         Case 6
  700.             knob1.TicLabelRadius = hscroll1(6) / 100
  701.             label2(6) = hscroll1(6) / 100
  702.     End Select
  703.  
  704. End Sub
  705.  
  706. Sub HScroll1_Scroll (Index As Integer)
  707.  
  708.     Select Case Index
  709.         Case 0
  710.             knob1.TicStartValue = hscroll1(0)
  711.             label2(0) = hscroll1(0)
  712.         Case 1
  713.             knob1.TicStopValue = hscroll1(1)
  714.             label2(1) = hscroll1(1)
  715.         Case 2
  716.             knob1.TicDeltaValue = hscroll1(2)
  717.             label2(2) = hscroll1(2)
  718.         Case 3
  719.             knob1.TicInnerRadius = hscroll1(3) / 100
  720.             label2(3) = hscroll1(3) / 100
  721.         Case 4
  722.             knob1.TicOuterRadius = hscroll1(4) / 100
  723.             label2(4) = hscroll1(4) / 100
  724.         Case 5
  725.             knob1.TicWidth = hscroll1(5) / 100
  726.             label2(5) = hscroll1(5) / 100
  727.         Case 6
  728.             knob1.TicLabelRadius = hscroll1(6) / 100
  729.             label2(6) = hscroll1(6) / 100
  730.     End Select
  731.  
  732. End Sub
  733.  
  734. Sub Option1_Click (Index As Integer)
  735.  
  736.     knob1.TicID = Index
  737.     hscroll1(0) = knob1.TicStartValue
  738.     hscroll1(1) = knob1.TicStopValue
  739.     hscroll1(2) = knob1.TicDeltaValue
  740.     hscroll1(3) = knob1.TicInnerRadius * 100
  741.     hscroll1(4) = knob1.TicOuterRadius * 100
  742.     hscroll1(5) = knob1.TicWidth * 100
  743.     hscroll1(6) = knob1.TicLabelRadius * 100
  744.  
  745.     option2(knob1.TicStyle) = True
  746.     check1 = -knob1.TicLabel
  747.     
  748.  
  749. End Sub
  750.  
  751. Sub Option2_Click (Index As Integer)
  752.  
  753.     knob1.TicStyle = Index
  754.  
  755. End Sub
  756.  
  757.